package com.antdesignbackend.backend.service.impl;

import com.antdesignbackend.backend.entity.FeeList;
import com.antdesignbackend.backend.entity.entityVo.FeeListVo;
import com.antdesignbackend.backend.mapper.FeeListMapper;
import com.antdesignbackend.backend.service.FeeListService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FeeListServiceImpl extends ServiceImpl<FeeListMapper, FeeList> implements FeeListService {
    @Autowired
    private FeeListMapper feeListMapper;
    @Override
    public List<FeeListVo> search(QueryWrapper<FeeListVo> queryWrapper, Page<FeeListVo> page) {
        return feeListMapper.search(queryWrapper, page);
    }
    @Override
    public Integer count(QueryWrapper<FeeListVo> queryWrapper) {
        return feeListMapper.count(queryWrapper);
    }
    @Override
    public List<FeeListVo> searchView(QueryWrapper<FeeListVo> queryWrapper, Page<FeeListVo> page) {
        return feeListMapper.searchView(queryWrapper, page);
    }
    @Override
    public Integer countView(QueryWrapper<FeeListVo> queryWrapper) {
        return feeListMapper.countView(queryWrapper);
    }

}
